package cn.xm.basic.constant;

import javax.print.DocFlavor;

public class BaseConstant {

    public class verifyCodeCons {
        // 注册
        public static final String REGISTER_SMSCODE_PHOEN = "register:smscode:%s";
        // 绑定
        public static final String BINDER_SMSCODE_PHOEN = "binder:smscode:%s";
    }

    /**
     * 微信登录常量
     */
    public class wxLoginCont {
        // appid
        public static final String WX_LOGIN_APPID = "wxd853562a0548a7d0";
        // secret
        public static final String WX_LOGIN_SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
        // 获取token的url
        public static final String WX_LOGIN_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
        // 通过token获取logininfo
        public static final String WX_LOGIN_USER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s";
    }
}
